AbstractPropertyType is a homogeneous property type handle to an existing property type. More...
Classes | |
class | Iterator |
Public Member Functions | |
AbstractPropertyType (PropertyType< TDataType > propertyType) | |
Creates an AbstractPropertyType instance referring to the existing property type. | |
AbstractPropertyType (String name) | |
Creates an AbstractPropertyType instance referring to the existing property type with the given name. | |
Public Member Functions inherited from PropertyType< Object > | |
PropertyType (Class< TDataType > clazz) | |
Construct a new property type without a name. | |
PropertyType (Class< TDataType > clazz, TDataType defaultValue) | |
Construct a new property type without a name. | |
PropertyType (Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags) | |
Construct a new property type without a name. | |
PropertyType (Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags, boolean inherited) | |
Construct a new property type without a name. | |
PropertyType (String name, Class< TDataType > clazz) | |
Construct a new property type. | |
PropertyType (String name, Class< TDataType > clazz, TDataType defaultValue) | |
Construct a new property type. | |
PropertyType (String name, Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags) | |
Construct a new property type. | |
PropertyType (String name, Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags, boolean inherited) | |
Construct a new property type. | |
boolean | equals (Object object) |
EnumSet< PropertyTypeChangeFlag > | getChangeFlags () |
Gets the change flags for a property type. | |
PropertyDataType | getDataType () |
Gets the data type of a property type. | |
TDataType | getDefaultValue () |
Gets the default value for a property type. | |
boolean | getIsInherited () |
Returns whether a property type is inheritable. | |
String | getName () |
Gets the fully qualified name of a property type in the form "Class.PropertyType". | |
long | getNative () |
Gets a pointer to the backing C++ instance. | |
int | hashCode () |
AbstractPropertyType is a homogeneous property type handle to an existing property type.
You can use AbstractPropertyType to operate on property types when a property type and its data type are unknown or irrelevant. It is usually more convenient to pass AbstractPropertyType as a function argument instead of specifying the exact property type with certain data type.
You can pass AbstractPropertyType directly to functions taking com.rightware.kanzi.PropertyType
argument. You can also query all property type info directly from AbstractPropertyType.
When data type information is known, you should use com.rightware.kanzi.DynamicPropertyType
instead.
AbstractPropertyType | ( | String | name | ) |
Creates an AbstractPropertyType instance referring to the existing property type with the given name.
If a property type with the given name does not already exist in the Kanzi property system, the created AbstractPropertyType instance is invalid.
name | Fully qualified name of a property type. |
AbstractPropertyType | ( | PropertyType< TDataType > | propertyType | ) |
Creates an AbstractPropertyType instance referring to the existing property type.
propertyType | Property type to reference. |